import App from './App'
import store from './store/index.js'
// #ifndef VUE3
import Vue from 'vue'
import uView from "uview-ui";

// Vue.use(vuex)
Vue.use(uView)
// Vue.use(vuex)
Vue.config.productionTip = false
Vue.prototype.$store = store
App.mpType = 'app'
const app = new Vue({
    ...App,store
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
// import uView from "uview-ui";
export function createApp() {
  const app = createSSRApp(App)
  // app.use(uView)
  return {
    app
  }
}
// #endif